//
//  HMImageCell.m
//  CollectinView
//
//  Created by app20 on 15/7/13.
//  Copyright (c) 2015年 app20. All rights reserved.
//

#import "DSZShopsCollectionCell.h"
#import "Common.h"

@interface DSZShopsCollectionCell()

@property (weak, nonatomic) IBOutlet UIImageView *imageView;

@property (weak, nonatomic) IBOutlet UILabel *titleLabel;

@property (weak, nonatomic) IBOutlet UILabel *priceLabel;

@end

@implementation DSZShopsCollectionCell

- (void)awakeFromNib {
    
}

- (void)setIcon:(NSString *)icon{
    
    if (_icon != icon) {
        
        _icon = icon;
    }
    
    [_imageView  setImageWithURL:[NSURL URLWithString:icon]];
    
}

- (void)setTitle:(NSString *)title{
    
    if (_title != title) {
        
        _title = title;
    }
    
    _titleLabel.text = title;
    
}

- (void)setPrice:(NSString *)price{
    
    if (_price != price) {
        
        _price = price;
    }
    
    _priceLabel.text = price;
    
}


@end

